package com.example.kechengsheji;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;

public class kaoqin extends AppCompatActivity {

    Button shangban,xiaban;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.kaoqin);

        shangban = findViewById(R.id.shangban);
        shangban.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(kaoqin.this, shangban.class);
                startActivity(intent);
            }
        });

        xiaban = findViewById(R.id.xiaban);
        xiaban.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(kaoqin.this, xiaban.class);
                startActivity(intent);
            }
        });
    }
}